import { BtNotification } from "./BtNotification.js"

// 外置一个
const msg_queue = []

export const BtMessage = (obj) => {
    BtNotification({
        type: obj.type,
        title: obj.message,
        showBody: false,
        showClose: false,
        position: 'top_center',
        duration: 1500,
        style: {
            "min-width": '128px',
            "padding": "6px 8px"
        },
        queue: msg_queue
    })
}